WP_Defender\Controller\HUB B

Total Complexity 96
Dependencies 34
Dependents 1
Total lines 836
Lines of code 553
Logical lines of code 270
Comment lines 201
Methods 31
Properties 1

Methods 31

Method Rating Maintainability Complexity Lines of code
import_settings()
A
45 11 42
manage_lockout()
A
44 10 48
defender_get_stats_v2()
A
31 4 135
set_antibot_status()
S
50 7 28
intercept_deactivate()
S
56 6 18
restore_quarantined_file()
S
53 5 23
manage_global_ip_list()
S
55 4 21
manage_2fa()
S
56 4 19
manage_recaptcha()
S
56 4 19
manage_audit_log()
S
56 4 19
schedule_scan()
S
55 4 19
export_settings()
S
58 4 16
get_scan_progress()
S
60 3 15
blacklist_ip()
S
62 3 11
whitelist_ip()
S
62 3 11
get_quarantined_files()
S
60 2 14
set_global_ips()
S
60 2 14
new_scan()
S
61 2 13
add_hub_endpoint()
S
53 1 21
track_feature_from_hub()
S
67 2 8
get_onboarding_status()
S
82 1 3
__construct()
S
72 1 5
set_onboarding_status()
S
81 1 3
export_strings()
S
82 1 3
import_data()
S
91 1 2
to_array()
S
82 1 3
data_frontend()
S
91 1 2
remove_data()
S
91 1 2
hub_sync()
S
68 1 8
get_stats()
S
72 1 6
remove_settings()
S
91 1 2